import java.io.*;
import java.util.*;

public class Practice6_3 {

	public static void main(String[] args) throws IOException{
        int data=0;
        int sum=0;
		Scanner sc = new Scanner(System.in);

        System.out.println("Input data: ");
        for (int i=0; i<5;i++){
            data = sc.nextInt();
            System.out.print("    "+data);
            sum+=data;
            }
        sc.close();
        System.out.println();
        System.out.println("sum:"+sum);
            
        }
 }	
